﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
    using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.SM.Ship;
    using UFSoft.UBF.AopFrame;

    /// <summary>
    /// ShipSaveSV partial 
    /// </summary>	
    public partial class ShipSaveSV
    {
        internal BaseStrategy Select()
        {
            return new ShipSaveSVImpementStrategy();
        }		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class ShipSaveSVImpementStrategy : BaseStrategy
	{
		public ShipSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			ShipSaveSV bpObj = (ShipSaveSV)obj;

            return CodeUtils.DocSaveRT(
                bpObj,
                bpObj.Data,
                ShipBase.CreateDoc,
                ShipBase.ApproveDoc);
        }
    }

	#endregion
	
	
}